<include file="./Index/Tpl/Home/default/public/header.htm" />
<link href="__PUBLIC__/css/inn-apply-agreement.css" type="text/css" rel="stylesheet" />
<script src="http://cdn.jquerytools.org/1.2.7/form/jquery.tools.min.js"></script>
<script type="text/javascript">
(function($){
    $(function(){
        $("#myform").validator({
            messageClass:"yellow",
            position:"bottom left"
        });
        $("#myform input").focus(function(){
            $(this).addClass('input_hover');
        }).blur(function(){
            $(this).removeClass('input_hover');
        });
    });
    window.selectfile = function(field) {
        $("input[name='"+field+"']").click();
    }
    window.fileselected = function(field) {
        path = $("input[name='"+field+"']").val();
        $("#"+field).val(path);
    }
})(jQuery);
</script>
<div class="content">
    <!--商家后台左边 start-->
    <div class="ht_left">
        <div><img src="__PUBLIC__/images/ht_top.jpg" /></div>
        <div class="ht_left_nr">
            <li class="ht_left_title"><img src="__PUBLIC__/images/kt_left_title.jpg" /></li>
            <li><a href="sj_ht.htm">后台首页</a></li>
            <li><a href="kzgl.htm">客栈管理</a></li>
            <li><a href="ddgl.htm">订单管理</a></li>
            <li><a href="lygl.htm">留言管理</a></li>
            <li><a href="plgl.htm">评论管理</a></li>
        </div>
        <div><img src="__PUBLIC__/images/ht_bottom.jpg" /></div>
    </div>	
    <!--商家后台左边 end-->
    <!--商家后台右边 start-->
    <div class="sjht_right">
        <!--具体信息 start-->
        <div class="sjht_xx">
            <!--具体信息左边 start-->
            <div class="sjht_xx_left">
                <form id="myform" method='post' enctype='multipart/form-data' action='<{:U("submit")}>'>
                <ul>
                    <li class="jt_title">基本资料</li>
                    <li class="sjht_jtxx">
                        <p class="zc_xx">
                            <span class="zc_xx_title">店主姓名</span>
                            <span><input type="text" name="truename" required="required" data-message="请填写店主姓名！" /></span>
                            <span class="yellow">真实姓名</span>
                        </p>
                    </li>
                    <li class="sjht_jtxx">
                        <p class="zc_xx">
                            <span class="zc_xx_title">联系方式</span>
                            <span><input type="text" name="phone" required="required" data-message="请填写联系方式！" /></span>
                            <span class="yellow">请输入电话号码</span>
                        </p>
                    </li>
                    <li class="sjht_jtxx">
                        <p class="zc_xx">
                            <span class="zc_xx_title">身份证号</span>
                            <span><input type="text" name="idcard_number" required="required" data-message="请填写身份证号码！" /></span>
                        </p>
                    </li>
                    <li class="sjht_jtxx">
                        <p class="zc_xx">
                            <span class="zc_xx_title">身份证扫描件</span>
                            <span><input type="text" id="idcard_pic" required="required" readonly data-message="请上传身份证扫描件！" /></span>
                            <span><a href="javascript:;" onclick='selectfile("idcard_pic")'>浏览…</a></span>
                            <input type="file" name="idcard_pic" onchange='fileselected("idcard_pic")' style="height:0;width:0;" />
                        </p>
                    </li>
                </ul>
                <ul>
                    <li class="jt_title">公司资料</li>
                    <li class="sjht_jtxx">
                        <p class="zc_xx">
                            <span class="zc_xx_title">公司名称</span>
                            <span><input type="text" name="orgname" required="required" data-message="请填写公司姓名！" /></span>
                        </p>
                    </li>
                    <li class="sjht_jtxx">
                        <p class="zc_xx">
                            <span class="zc_xx_title">办公电话</span>
                            <span><input type="text" name="officephone" required="required" data-message="请填写办公室电话！" /></span>
                        </p>
                    </li>
                    <li class="sjht_jtxx">
                        <p class="zc_xx">
                            <span class="zc_xx_title">营业执照</span>
                            <span><input type="text" name="biz_number" required="required" data-message="请填写营业执照！" /></span>
                        </p>
                    </li>
                    <li class="sjht_jtxx">
                        <p class="zc_xx">
                            <span class="zc_xx_title">证件扫描上传</span>
                            <span><input type="text" id="biz_pic" required="required" readonly data-message="请上传营业执照扫描件！" /></span>
                            <span><a href="javascript:;" onclick='selectfile("biz_pic")'>浏览…</a></span>
                            <input type="file" name="biz_pic" onchange='fileselected("biz_pic")' style="height:0;width:0;" />
                        </p>
                    </li>
                </ul>
                <ul class="kt_next_two">
                    <li>
                        <span>*放心上传您的资料，本资料严格保密，不会用于其它用途！</span>
                     </li>
                     <li><input type="image" src="__PUBLIC__/images/kt_next.jpg" /></li>
                </ul>
                </form>
            </div>
            <!--具体信息左边 end-->
            <!--具体信息右边 start-->
            <div class="ktkz_right">
                <li><img src="__PUBLIC__/images/one_hover.jpg" /></li>
                <li><img src="__PUBLIC__/images/two_hover.jpg" /></li>
                <li><img src="__PUBLIC__/images/three_zc.jpg" /></li>
                <li><img src="__PUBLIC__/images/four_zc.jpg" /></li>
            </div>
            <!--具体信息右边 end-->
        </div>
        <!--具体信息 end-->
    </div>
    <!--商家后台右边 end-->
</div>
<include file="./Index/Tpl/Home/default/public/footer.htm" />